﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;

public partial class Admin_Admin : System.Web.UI.MasterPage
{
    clsDBOperation clsobj = new clsDBOperation();
    DataSet dsadmin = new DataSet();
    Hashtable hstParameters = new Hashtable();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["dsGolbal"] == null)
        {
            Response.Redirect("../");
        }
        dsadmin = (DataSet)Session.Contents["dsGolbal"];

    }

    protected void lnkLogOut_Click(object sender, EventArgs e)
    {
        try
        {
            Session.Remove("dsGolbal");
            Response.Redirect("~/DreamProject/DownloadMovies.aspx");
        }
        catch (Exception ex)
        {

        }
    }
}


